using System.ComponentModel;

namespace Playground
{
    public class CustomBindingList<T> : BindingList<T>
    {
        protected override void OnAddingNew(AddingNewEventArgs e)
        {
            if (e.NewObject != null)
            {
                T t = (T)e.NewObject;
                base.OnAddingNew(e);
            }
        }
    }
}